Skip to main content
GET
/
license
/
metric
Get license metrics
curl --request GET \
  --url https://your_a2_service/license/metric \
  --header 'Authorization: Bearer <token>'
{
  "features": {
    "analytic": [
      "advertiser"
    ],
    "campaign": [
      "impression"
    ],
    "creative": [
      "display"
    ],
    "media_library": [
      "local"
    ],
    "name": "<string>",
    "notification": [
      "adm"
    ]
  },
  "info": {
    "customer_id": "<string>",
    "expiry_date": "<string>",
    "license_type": "<string>"
  },
  "limit": {},
  "quota": {},
  "used": {}
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

Successful Response

Schema representing the license resource status.

features
FeatureTierSchema · object
required

Schema representing the feature tier configuration.

This defines what features and capabilities are available for a given license tier. The features are grouped into different categories like campaign types, media storage, creative formats, notification methods and analytics access.

info
LicenseInfoSchema · object
required

Schema representing the license information.

limit
Limit · object
required

Maximum allowed resource usage limits for each resource type.

quota
Quota · object
required

Maximum allowed resource usage limits for each resource type.

used
Used · object
required

Current usage count for each resource type.